<template>
  <h2>安全日志</h2>
  <el-table :data="tableData" stripe style="width: 100%">
    <el-table-column prop="time" label="时间" width="180" />
    <el-table-column prop="news" label="事件" width="220" />
    <el-table-column prop="ip" label="ip" width="150" />
    <el-table-column prop="location" label="地点" width="150" />
    <el-table-column prop="system" label="系统" width="120" />
    <el-table-column prop="web_system" label="浏览器" width="120" />
  </el-table>
</template>

<script lang="ts" setup>
const tableData = [
  {
    time: '2024-06-23 01:32:45',
    news: '登录系统',
    ip: '127.0.0.1',
    location: '广东东莞',
    system: 'windows',
    web_system: 'chrome'
  },
  {
    time: '2024-06-23 01:32:25',
    news: '登录系统',
    ip: '127.0.0.1',
    location: '广东东莞',
    system: 'windows',
    web_system: 'chrome'
  },
  {
    time: '2024-06-23 01:31:47',
    news: '登录系统',
    ip: '127.0.0.1',
    location: '广东东莞',
    system: 'windows',
    web_system: 'chrome'
  },
  {
    time: '2024-06-23 01:31:45',
    news: '登录系统',
    ip: '127.0.0.1',
    location: '广东东莞',
    system: 'windows',
    web_system: 'chrome'
  },
]
</script>
<style>

</style>